using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace IdTools
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            TimeSpan ts = DateTime.Now - DateTime.Parse("1970-1-1");
            txtTimeInMillionseconds.Text = ts.TotalMilliseconds.ToString();
        }

        private void btnTime_Click(object sender, EventArgs e)
        {
            TimeSpan ts = DateTime.Now - DateTime.Parse("1970-1-1");
            txtTimeInMillionseconds.Text = ts.TotalMilliseconds.ToString();
        }
    }
}